function test(){
   const a = 1;
   return function(num){
      return num + a
   }
}

const fn = test()
console.log(fn)
const sum = fn(5)
console.log(sum)
